<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>fromCharCode通过ASCII码值创建字符串</title>
		<script type="text/javascript">
			//var   /vɑr/
			//alert   /əˈlɜːrt/
			//String   /strɪŋ/
			//fromCharCode   /frɒm  tʃɑː(r)  kəʊd/
			
			// fromCharCode 可以接收一个或多个指定的ASCII值，然后返回相应的字符串
			var str = String.fromCharCode(97,98,99,100);
			alert(str);    //abcd
		</script>
	</head>
	<body>
	</body>
</html>
